<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:s="http://jboss.com/products/seam/taglib">

	<div class="entry #{invalid?'errorDiv':''}"><s:div
		rendered="#{not empty tabId}">
		<s:span rendered="#{invalid}">
			<script type="text/javascript">jQuery(function() {
                    formTabRaiseError("#{tabId}", "#{fieldId}", '<ui:insert name="label"/>:&#160; <s:message/>');
                });</script>
		</s:span>
		<s:span rendered="#{!invalid}">
			<script type="text/javascript">jQuery(function() {
                    formTabClearError("#{tabId}", "#{fieldId}");
                });</script>
		</s:span>
	</s:div>

	<div class="input"><s:validateAll>
		<s:span style="margin-left:60px;width:100px;display:inline-block;">
			<ui:insert name="label" />:</s:span>
		<ui:insert />
		<rich:spacer width="20px"></rich:spacer>
		<s:span rendered="#{!invalid}">		
			<ui:insert name="remark"></ui:insert>
		</s:span>
		<h:panelGroup rendered="#{invalid}">
			<h:graphicImage value="../images/attention.gif" width="12"
				height="12" styleClass="attentionImage" />
			<s:span styleClass="attentionMessage">&#160;<s:message />
			</s:span>
		</h:panelGroup>
	</s:validateAll></div>

	</div>
</ui:composition>